import os
import sys

import pytest


def run():
    pytest.main(['-s', './test_case',
                 '--alluredir', './result', '--clean-alluredir'])
    os.system('allure serve result')


if __name__ == '__main__':
    run()
